class Recommend < ApplicationRecord
  scope :ordered, -> { includes(:entity => [:song, :playlist]).order(position_number: :asc, id: :asc) }
  
  belongs_to :entity, polymorphic: true
end
